package top.mczhengyi.xyblog.service;

import top.mczhengyi.xyblog.entity.Blog;

import java.util.List;

public interface BlogService {
    Blog getBlogById(Integer id);

    List<Blog> getAllBlog();

    List<Blog> getVisibleBlog();

    Integer updateBlog(Blog blog);

    Integer saveBlog(Blog blog);

    Integer delete(Integer id);
}
